﻿using DirectSell.Model.Manager;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DirectSell.IBLL
{
    /// <summary>
    /// 管理员操作入口
    /// </summary>
    public interface IManagerOperation
    {
        /// <summary>
        /// 操作
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="param"></param>
        /// <returns></returns>
        ManagerRespCode DoOperation<T>(T param);
        /// <summary>
        /// 操作 异步
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="param"></param>
        /// <returns></returns>
        Task<ManagerRespCode> DoOperationAsync<T>(T param);
    }
}
